GCC with MinGW || VS Code


Posted by george16886 on 2020-09-11

Coding with Visual Studio Code @Windows 10 x64:

  1. Install Visual Studio Code.
  2. Install the C/C++ extension for VS Code.
    • In Visual Studio Code, search for 'c++' in the Extensions view (Ctrl+Shift+X).
  3. Install Mingw-w64.
    • For Architecture select x86_64
  4. Add the path to your Mingw-w64 bin folder to the Windows PATH environment variable.
    • 本機右鍵 -> 內容 -> 進階 -> 環境變數
    • 選 Path -> 編輯 -> 新增(若安裝 Mingw-w64 時沒有更新路徑直接複製下面一行即可)
    • C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin
  5. In Visual Studio Code, press F5 to run
    • C++ (GDB/LLDB)
    • g++.exe - 建置及偵錯使用中的檔案

document.write( "");

#VS Code #GCC #MinGW









Related Posts

【筆記】Sass 使用簡介與常用語法

【筆記】Sass 使用簡介與常用語法

The Mix manifest does not exist. (View: C:\laragon\www\fc\resources\views\layouts\_head.blade.php)

The Mix manifest does not exist. (View: C:\laragon\www\fc\resources\views\layouts\_head.blade.php)

我要成為前端工程師的學習筆記:HTML & CSS 篇 - CSS Reset、display Day5

我要成為前端工程師的學習筆記:HTML & CSS 篇 - CSS Reset、display Day5


Comments